var tm='<ul class="aw-bg-fff aw-assest-tab-select">'+
		'<li class="aw-select aw-w50b">'+
			'<select class="select-none" id="store_id" :value="form.store_id" v-model="form.store_id">'+
				'<option value="0">请选择</option>'+
				'<option v-for="(list,key) in list_store" :value="list.id">{{list.store_name}}</option>'+
			'</select>'+
			'<div class="aw-icon aw-icon-tab-select aw-select-icon"></div>'+
		'</li>'+
		'<li class="aw-select aw-w50b">'+
			'<select class="select-none" id="type" :value="form.type" v-model="form.type">'+
				'<option value="0">不限</option>'+
				'<option v-for="(list,key) in list_type" :value="list.type">{{list.type_text}}</option>'+
			'</select>'+
			'<div class="aw-icon aw-icon-tab-select aw-select-icon"></div>'+
		'</li>'+
		'<li class="aw-select aw-hide">'+
			'<select class="select-none" id="time" :value="form.time" v-model="form.time">'+
				'<option value="0">不限</option>'+
				'<option v-for="(list,key) in list_time" :value="key+1" :data-start_time="list.start_time">{{list.start_time}}-{{list.end_time}}</option>'+
			'</select>'+
			'<div class="aw-icon aw-icon-tab-select aw-select-icon"></div>'+
		'</li>'+
		'<li class="aw-select-shu" style="left:50%"></li>'+
		'<li class="aw-select-shu aw-left-3333 aw-hide"></li>'+
		'<li class="aw-select-shu aw-right-3333 aw-hide"></li>'+
	'</ul>';
var Vue_Select=Vue.extend({
	template:tm,
	props:{
		form:{
			form:[String,Number],
			required:true
		},list_store:{
			list_store:[String,Number],
			required:true
		},list_type:{
			list_store:[String,Number],
			required:true
		},list_time:{
			list_store:[String,Number],
			required:true
		}
	},computed:{
		
	},methods:{
		
	},watch:{
        'form.store_id':function(val,olval){
        	console.log('store_id 改变')
        	console.log(val,olval)
        	AD_list_type.form_data.store_id=val;
        	Get_Refresh_Type_List()
        	is_watch='store_id';
        	vm.Get_List_Data()
        	vm.form.type=$('#type option:eq(0)').val();
        },'form.type':function(val,olval){
        	console.log('type 改变')
        	console.log(val,olval)
        	console.log(2222222222222222222)
        	console.log(is_watch)
        	if(is_watch!='store_id'){
        		vm.Get_List_Data()
        	}
        },'form.time':function(val,olval){
        	console.log('time 改变')
        	console.log(val,olval)
        	var this_url=location.pathname;
        	var This_start_time=$('#time option').eq(val).attr('data-start_time')
        	if(this_url=='/wap/booking/choice'){
        		vm.Get_List_Data(1)
        	}else{
        		if(This_start_time==undefined){This_start_time='';}
        		vm.form.start_time=This_start_time;
        		vm.Get_List_Data()
        	}
        },'form.today':function(val,olval){
        	console.log('val')
        	console.log(val,olval)
        	vm.Get_List_Data()
        }
    }
});
window.V_Assest_select=Vue_Select;
